home *** CD-ROM | disk | FTP | other *** search
- global stateSound, nameSoundFon
-
- on mouseEnter
- tmpMember = the currentSpriteNum
- case tmpMember of
- 70:
- cursor([member("cur_3"), member("cur_3_m")])
- tmpCastName = "anm_ret"
- tmpHint = "h_ret"
- 71:
- cursor([member("cur_3"), member("cur_3_m")])
- tmpCastName = "anm_exit"
- tmpHint = "h_exit"
- 72:
- cursor([member("cur_3"), member("cur_3_m")])
- if stateSound = 1 then
- tmpCastName = "anm_sound_on"
- tmpHint = "h_sound_dn"
- else
- tmpCastName = "anm_sound_off"
- tmpHint = "h_sound_up"
- end if
- end case
- set the member of sprite (tmpMember - 3) to tmpCastName
- set the member of sprite 110 to tmpHint
- end
-
- on mouseLeave
- tmpMember = the currentSpriteNum
- tmpCastName = "h_null"
- tmpHint = "h_null"
- case tmpMember of
- 70:
- cursor(0)
- tmpCastName = "ret"
- 71:
- cursor(0)
- tmpCastName = "exit"
- 72:
- cursor(0)
- if stateSound = 1 then
- tmpCastName = "sound_on"
- else
- tmpCastName = "sound_off"
- end if
- end case
- set the member of sprite (tmpMember - 3) to tmpCastName
- set the member of sprite 110 to tmpHint
- end
-
- on mouseDown
- tmpMember = the currentSpriteNum
- tmpCastName = "h_null"
- tmpHint = "h_null"
- case tmpMember of
- 70:
- tmpCastName = "ret_a"
- set the member of sprite (tmpMember - 3) to tmpCastName
- set the member of sprite 110 to tmpHint
- cursor(0)
- updateStage()
- if stateSound = 1 then
- puppetSound(1, 0)
- puppetSound(1, "snd_Back")
- updateStage()
- end if
- if stateSound = 1 then
- go(1, "Mainmenu")
- else
- go(2, "Mainmenu")
- end if
- 71:
- tmpCastName = "exit_a"
- set the member of sprite (tmpMember - 3) to tmpCastName
- set the member of sprite 110 to tmpHint
- cursor(0)
- updateStage()
- if stateSound = 1 then
- puppetSound(1, 0)
- puppetSound(1, "snd_Exit")
- updateStage()
- end if
- sprite(69).visible = 0
- go(label("Exit"))
- 72:
- if stateSound = 1 then
- puppetSound(1, 0)
- puppetSound(1, "snd_Click1")
- updateStage()
- stateSound = 0
- else
- puppetSound(2, 0)
- puppetSound(2, "snd_Click1")
- puppetSound(1, 0)
- puppetSound(1, nameSoundFon)
- updateStage()
- stateSound = 1
- end if
- if stateSound = 1 then
- tmpCastName = "anm_sound_on"
- tmpHint = "h_sound_dn"
- else
- tmpCastName = "anm_sound_off"
- tmpHint = "h_sound_up"
- end if
- set the member of sprite (tmpMember - 3) to tmpCastName
- set the member of sprite 110 to tmpHint
- updateStage()
- end case
- end
-
- on mouseUp
- end
-